#pragma once
#include "DTexture.h"

class DTextureManager : public DSingleton <DTextureManager>
{
private:
	friend class DSingleton <DTextureManager>;
	DTextureManager(void);
	~DTextureManager(void);

private:
	std::map<int, DTexture*> m_DTextureMap;
	int m_Index;
	
public:
	int AddTexture( TCHAR* filePath );
	DTexture* GetTexture(int index);
	void Release();
	
};
